import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import 'lib-flexible'

import Vant, { Toast } from 'vant'
import 'vant/lib/index.css'
import ArticleItem from '@/components/ArticleItem.vue'
Vue.component('ArticleItem', ArticleItem)
Vue.use(Vant)
Vue.config.productionTip = false
Toast('提示内容') // 普通的提示
Toast.success('登陆成功') // 成功的提示
Toast.fail('登陆失败') // 失败的提示

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
